import Vue from 'vue'
import App from './App.vue'
import router from './router/index'
import store from './store/index'

Vue.config.productionTip = false

//配置axios的基本信息
import axios from "./utils/request";
Vue.prototype.$axios = axios;

//main.js中导入所有的组件
import Vant from 'vant';
import 'vant/lib/index.css';
Vue.use(Vant);
//图片拦截在的配置
import { Lazyload } from 'vant';
Vue.use(Lazyload);

//导入依赖包,移动端自适应的依赖
// import "amfe-flexible";

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
